export interface BasicPageParams {
  page: number;
  pageSize: number;
  total: number;
}

export interface BasicFetchResult<T> {
  items: T[];
  total: number;
}

/**
 * 通用接口返回类型
 */
export interface CommonResponseModel {
  code: number;
  message: string;
  result: [];
}

/**
 * 通用删除接口请求类型
 */
export interface CommonDeleteModel {
  id: number | string;
}

/**
 * 通用关键字搜索接口请求类型
 */
export interface CommonSearchModel {
  keyword: string;
}

/**
 * 通用下拉数据类型
 */
export interface CommonSelectModel {
  label: string;
  value: number | string;
}
